from django.urls import path
from . import views

app_name = "myblog"

urlpatterns = [
    path("index", views.index_blog, name="index_blog"),
    path("detail/<int:blog_id>", views.detail_blog, name="detail_blog"),
    path("pub", views.pub_blog, name="pub_blog"),
    path("comment/pub", views.pub_comment, name="pub_comment"),
    path("search",views.search,name="search"),
    path("delete",views.delete_blog,name="delete_blog")
]
